applied patch from Phil Thompson <phil@river-bank.demon.co.uk> that
authorTim Janik <timj@gtk.org>
Thu, 27 Jul 2000 03:13:07 +0000 (03:13 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 27 Jul 2000 03:13:07 +0000 (03:13 +0000)
Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtktable.c: applied patch from Phil Thompson
        <phil@river-bank.demon.co.uk> that enables space settings for
        the last row/columns as well.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktable.c

index 5c918f268e06afc85f9c3e47083551ed2896cd32..02ec973e02c3c4299e847456aa7004a30f89a878 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtktable.c: applied patch from Phil Thompson
+        <phil@river-bank.demon.co.uk> that enables space settings for
+        the last row/columns as well.
+
 Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
 
         * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
index 5c918f268e06afc85f9c3e47083551ed2896cd32..02ec973e02c3c4299e847456aa7004a30f89a878 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtktable.c: applied patch from Phil Thompson
+        <phil@river-bank.demon.co.uk> that enables space settings for
+        the last row/columns as well.
+
 Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
 
         * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
index 5c918f268e06afc85f9c3e47083551ed2896cd32..02ec973e02c3c4299e847456aa7004a30f89a878 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtktable.c: applied patch from Phil Thompson
+        <phil@river-bank.demon.co.uk> that enables space settings for
+        the last row/columns as well.
+
 Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
 
         * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
index 5c918f268e06afc85f9c3e47083551ed2896cd32..02ec973e02c3c4299e847456aa7004a30f89a878 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtktable.c: applied patch from Phil Thompson
+        <phil@river-bank.demon.co.uk> that enables space settings for
+        the last row/columns as well.
+
 Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
 
         * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
index 5c918f268e06afc85f9c3e47083551ed2896cd32..02ec973e02c3c4299e847456aa7004a30f89a878 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtktable.c: applied patch from Phil Thompson
+        <phil@river-bank.demon.co.uk> that enables space settings for
+        the last row/columns as well.
+
 Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
 
         * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
index 5c918f268e06afc85f9c3e47083551ed2896cd32..02ec973e02c3c4299e847456aa7004a30f89a878 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtktable.c: applied patch from Phil Thompson
+        <phil@river-bank.demon.co.uk> that enables space settings for
+        the last row/columns as well.
+
 Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
 
         * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
index 5c918f268e06afc85f9c3e47083551ed2896cd32..02ec973e02c3c4299e847456aa7004a30f89a878 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 27 05:06:29 2000  Tim Janik  <timj@gtk.org>
+
+        * gtk/gtktable.c: applied patch from Phil Thompson
+        <phil@river-bank.demon.co.uk> that enables space settings for
+        the last row/columns as well.
+
 Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
 
         * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
index cf0cbb6c42ccf2349124929f2ba4698c76cdefb8..7d0fd1f59e2eaf2a19dc4f3240c0a55ea6073bc9 100644 (file)
@@ -573,7 +573,7 @@ gtk_table_set_row_spacing (GtkTable *table,
 {
   g_return_if_fail (table != NULL);
   g_return_if_fail (GTK_IS_TABLE (table));
-  g_return_if_fail (row + 1 < table->nrows);
+  g_return_if_fail (row < table->nrows);
   
   if (table->rows[row].spacing != spacing)
     {
@@ -591,7 +591,7 @@ gtk_table_set_col_spacing (GtkTable *table,
 {
   g_return_if_fail (table != NULL);
   g_return_if_fail (GTK_IS_TABLE (table));
-  g_return_if_fail (column + 1 < table->ncols);
+  g_return_if_fail (column < table->ncols);
   
   if (table->cols[column].spacing != spacing)
     {
@@ -612,7 +612,7 @@ gtk_table_set_row_spacings (GtkTable *table,
   g_return_if_fail (GTK_IS_TABLE (table));
   
   table->row_spacing = spacing;
-  for (row = 0; row + 1 < table->nrows; row++)
+  for (row = 0; row < table->nrows; row++)
     table->rows[row].spacing = spacing;
   
   if (GTK_WIDGET_VISIBLE (table))
@@ -629,7 +629,7 @@ gtk_table_set_col_spacings (GtkTable *table,
   g_return_if_fail (GTK_IS_TABLE (table));
   
   table->column_spacing = spacing;
-  for (col = 0; col + 1 < table->ncols; col++)
+  for (col = 0; col < table->ncols; col++)
     table->cols[col].spacing = spacing;
   
   if (GTK_WIDGET_VISIBLE (table))